//
//  DicMainView.h
//  划词显示
//
//  Created by 盛超 on 2018/8/15.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    DictTestType_Word,
    DictTestType_Sen
} DictTestType;

@protocol DicMainViewDelegate <NSObject>

- (void)colseDicMainView:(UIView*)dictView;

@end

@interface DicMainView : UIView

@property (nonatomic,copy) NSString *dictUrl;
@property (nonatomic,copy) NSDictionary *dictParam;
@property (nonatomic,assign) id<DicMainViewDelegate>delegate;

- (void)popAnimated:(BOOL)animated;
- (void)closeAnimated:(BOOL)animated;

- (instancetype)initWithTestType:(DictTestType)type isShowRecord:(BOOL)show ;

@end
